ControlFocus("打开","","Edit1")
Sleep(500)
;获取当前文件目录的上一级目录的上一级目录
$file_path = StringReplace(@ScriptDir,"common\upload","")
;输入上传文件路径
ControlSetText("打开","","Edit1",$file_path&'picture\upload\摄图网_500256757.jpg')
Sleep(500)
;点击打开按钮
ControlClick("打开","","Button1")